MCSetDuration
TheMCSetDuration
function allows your application to set a controller's duration in the case where a controller does not have a movie associated with it.
pascal ComponentResult MCSetDuration (MovieController mc, TimeValue duration);
mc
- Specifies the movie controller for the operation. You obtain this
identifier from the Component Manager'sOpenComponent
orOpenDefaultComponent
function, or from theNewMovieController
function (described on page 2-28).duration
- Specifies the new duration for the movie. This duration value must be in the controller's time scale.
DESCRIPTION
The controller's duration remains at this new value until you assign a movie to the controller.SEE ALSO
You can use theMCGetCurrentTime
function, which is described in the next section, to obtain the time scale for the controller.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help